#include <QtTest/QtTest>
#include <QDebug>

class TestQString:public QObject
{
	 Q_OBJECT
private slots:
	 void toUpper();
};


void TestQString::toUpper()
{
    QString str = "Hello";
    QVERIFY(str.toUpper() == "HELLO");
    QVERIFY(str.toUpper() == "HELLO WORLD");
}


QTEST_MAIN(TestQString)     
#include "testQString.moc"  


